package com.cheng.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/skip")
public class SkipController {

    //跳转用户登录页面
    @RequestMapping("/skipUserLogin")
    public String skipUserLogin(){
        return "userLogin";
    }

    //跳转管理员登录
    @RequestMapping("/skipUsersLogin")
    public String skipUsersLogin(){return "login";}

    //跳转密码修改
    @RequestMapping("/updatePassword")
    public String updatePassword(){
        return "updatepassword";
    }

    //管理页跳转
    @RequestMapping("/billList")
    public String billList(){
        return "orderlist";
    }

    //管路员跳转主页
    @RequestMapping("/font")
    public String font(){
        return "home page";
    }

    //超级管理员登录
    @RequestMapping("/rootlogin")
    public String rootlogin(){
        return "rootlogin";
    }

    //商家注册
    @RequestMapping("/register")
    public String register(){
        return "register";
    }

    //新增超级管理员
    @RequestMapping("/addroot")
    public String addroot(){
        return "addroot";
    }

}
